<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{#qishi_jobs_show listname="show" id=$smarty.get.id#}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$show.jobs_name_cn#} - {#$show.companyname#} - {#$QISHI.site_name#}</title>
<meta name="description" content="{#$show.companyname#}招聘{#$show.jobs_name#}">
<meta name="keywords" content="{#$show.jobs_name#}，{#$show.companyname#}">
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/jobs.css" rel="stylesheet" type="text/css" />
<script src="{#$QISHI.site_dir#}plus/jobscount.php?id={#$show.id#}" language="javascript"></script>
<style type="text/css">
.compare {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 1px solid #C4C4C4;
	display: none;
	width: 200px;
}
.compare ul {
	list-style: none outside none;
	padding:0px;
	margin: 0;
}
.compare h5 {
	float: left;
	font-size: 12px;
	color:#333;
	margin: 0;
	padding: 0;
}
.compare .extra {
	background: url("{#$QISHI.site_template#}images/close2.gif") no-repeat scroll 2px -1px transparent;
	cursor: pointer;
	float: right;
	height: 13px;
	margin-top: 2px;
	width: 13px;
}
.comPro {
	padding:0px;
	margin:0px;
}
.compare .mb {
	padding: 5px 0;
	text-align: center;
}
.m, .mt, .mc, .mb {
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.compare .mt {
	background: none repeat scroll 0 0 #F3F3F3;
	height: 18px;
	line-height: 18px;
	overflow: hidden;
	padding: 3px 5px;
	overflow: hidden;
}
.compare .mc {
	padding: 2px;
}
.compare .mc li {
	border: 1px solid #E5E5E5;
	margin-bottom: 2px;
	padding: 4px 12px 4px 4px;
	position:relative;
}
.close {
	position:absolute;
	right:2px;
	cursor:pointer
}
.normaltable{border-left:1px #CCC solid;border-top:1px #CCC solid}
.normaltable tbody td{padding:10px 20px; text-align:left; border-right:1px #CCC solid; border-bottom:1px #CCC solid}

</style>
<script type="text/javascript">
function reduceCompare(jobid){
	$('#check_'+jobid+'').remove()
	var url="{#$geturl#}";
	var Data="act=reduceCompare&jobid="+jobid;	
	$.get(url, Data, function(theResponse){})
}
function openCompare()
{
	var url="{#$geturl#}";
	var Data="act=getCompare";	
	$.get(url, Data, function(theResponse){	})
	
}
function clearCompare()
{
	var url="{#$geturl#}";
	var Data="act=clearCompare";	
	$.get(url, Data, function(theResponse){ 
		$("#comProlist").html('');		
		}
		)

}
function setCompare(jobid,jobtitle)
{
	var Data="act=setCompare&jobid="+jobid+"&jobtitle="+jobtitle;	
	var url="{#$geturl#}";
	
	Data= encodeURI(Data);
	$.get(url, Data, function(theResponse){	
		if(theResponse=='') 
		{
		$("#comProlist").append('<li id="check_'+jobid+'">'+jobtitle+'<a onclick="reduceCompare('+jobid+')" class="close" title="移除">[移除]</a></li>')	;			
		}
		else alert(theResponse)
	 }
	)
}
</script>
</head><body>
{#include file="header.htm"#}
<div class="page_location link_bk">{#qishi_get_url listname=jobs_more  act=jobs#}
  當前位置：<a href="{#$QISHI.site_dir#}">首頁</a>&nbsp;>>&nbsp;<a href="{#$jobs_more#}">查看職位</a>&nbsp;>>&nbsp;<a href="{#$show.company_url#}">{#$show.companyname#}</a>&nbsp;>>&nbsp;{#$show.jobs_name_cn#}</div>
<div class="company_box">
<div class="company_box_left link_lan">
  <div class="company_box_left_title">空缺職位</div>
  {#qishi_company_jobs listname="company_list" uid=$show.uid#}
  {#foreach from=$company_list item=list#} <a href="{#$list.url#}">{#$list.jobs_name_cn#}</a> {#/foreach#} </div>
<div class="company_box_right">
  <div class="company_box_right_in">
    <div class="company_box_right_in_title"> 
    {#$show.jobs_name#}
      {#if $show.emergency=="2"#} <img src="{#$QISHI.site_template#}images/emergency.gif" width="27" height="14" align="absmiddle" />{#/if#} </div>
    <table cellspacing="0" cellpadding="0" class="normaltable" width="100%" align="center">
      <tbody>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right" width="150">編號</td>
          <td>{#$show.id#}</td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">公司/僱主名稱</td>
          <td><a href="{#$show.company_url#}">{#$show.jobs_boss#}</a></td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">職位類型/職位名稱</td>
          <td>{#$show.jobsnature#}/{#$show.jobs_name_cn#} </td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">地區</td>
          <td>{#$show.district|default:'沒標明'#}</td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">行業</td>
          <td>{#$show.trade#}</td>
        </tr>        
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">招聘人數</td>
          <td>{#$show.jobs_amount#} 人</td>
        </tr>        
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">待遇/基本薪金</td>
          <td>{#$show.jobs_wage_from#}~{#$show.jobs_wage_to#}/{#if 'month' eq $show.jobs_wage_per#}月{#elseif 'weak' eq $show.jobs_wage_per#}星期{#elseif 'day' eq $show.jobs_wage_per#}每日{#elseif 'hour' eq $show.jobs_wage_per#}每小時{#else#}每件{#/if#}
            {#if $show.jobs_wage_double#}&nbsp;有雙糧&nbsp;{#/if#}&nbsp;津貼：{#$show.jobs_wage_memo#}/月 </td>
        </tr>        
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">工作時間</td>
          <td>每週工作{#$show.jobs_week_from#}~{#$show.jobs_week_to#}天/每天{#$show.jobs_hour_from#}~{#$show.jobs_hour_to#}小時</td>
        </tr>  
                   
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">學歷要求</td>
          <td>{#if $show.jobs_education#}{#$show.jobs_education#}&nbsp;{#$show.jobs_education_option#}{#else#}學歷不限{#/if#}</td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">工作經驗</td>
          <td>{#$show.experience#}</td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">職責</td>
          <td>{#$show.jobs_description_cn#}</td>
        </tr>               
        <tr>
          <td valign="top" bgcolor="#66CCFF" style="text-align:right">其它須知</td>
          <td>{#$show.jobs_require_cn#}</td>
        </tr>   
        <tr>
          <td></td><td><div align="center" style="float:left; padding:0px 10px;"><a href="member_personal.php?act=jobs_apply_add&jobs_id={#$smarty.get.id#}&jobs_name={#$show.jobs_name_cn#}&company_id={#$show.company_id#}&company_uid={#$show.company_uid#}&company_name={#$show.companyname#}&jobs_category={#$show.category#}&jobs_subclass={#$show.subclass#}" class="getthisjob">立即申請該職位</a></div>
          <div align="center" style="float:left; padding:0px 10px;"><a href="javascript:;" onclick="setCompare({#$smarty.get.id#},'{#$show.jobs_name_cn#}')" class="comparethisjob">加入職位對比</a></div></td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="compare" id="compare" style="position: fixed; top: 220px; right: 0px; display: block;">
    <div class="mt">
      <h5>職位比較</h5>
      <div onclick="clearCompare()" class="extra"></div>
    </div>
    <div class="comPro">
      <ul id="comProlist" class="mc">
        {#foreach from=$jobarr item=job#}
        <li id="check_{#$job.jobid#}">{#$job.jobtitle#}<a onclick="reduceCompare({#$job.jobid#})" class="close" title="移除">[移除]</a></li>
        {#/foreach#}
      </ul>
      <div class="mb">
        <input type="button" onclick="window.location.href='{#$geturl#}?act=doCompare'" id="compareImg" class="btn" value="對比所選職位">
      </div>
    </div>
  </div>
  <div class="clear"></div>
</div>
{#include file="footer.htm"#}
</body>
</html>
